from django.contrib import admin
from learning_logs.models import Topic,Entry


class TopicAdmin(admin.ModelAdmin):
    list_display = ('id','text','date_added')


class EntryAdmin(admin.ModelAdmin):
    list_display = ('id','topic','text','date_added')

# Register your models here.

admin.site.register(Topic,TopicAdmin)
admin.site.register(Entry,EntryAdmin)